package com.cmc.cloud.cmclink.doc.vo.specialcargodgvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

/**
 * 疑似危险品待处理清单分页 Request VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - 疑似危险品待处理清单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpecialCargoSuspectedDgPageReqVO extends PageParam {

    @Schema(description = "是否处理")
    private String processingFlag;

    @Schema(description = "货物类型", example = "1")
    private String cargoType;

    @Schema(description = "是否退关")
    private Boolean withdraw;

    @Schema(description = "创建时间 Start")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate beginDate;

    @Schema(description = "创建时间 End")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate endDate;

}
